最近经常高频使用docker和docker-compose,没事就百度,总结一下 1.装docker curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 2.装docker-compose 从Github下载docker-compose 移动到 /usr/local/bin/docker-compose 赋予执行权限 chmod +x /usr/local/bin/docker-compose
docker
docker-compose
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
/usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose